package com.producer.spring_producer.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Create by yy
 * Date: 2019/10/29
 * Description:
 */
@Controller
@RequestMapping(value = "test")
public class TestController {

    @RequestMapping(value = "test", method = RequestMethod.GET)
    public @ResponseBody String test() {
        return "hello";
    }

}
